package cn.jslancer.service.impl;

import cn.jslancer.domain.Menu;
import cn.jslancer.repository.MenuRepository;
import cn.jslancer.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author jslancer
 * @date 2017/11/7
 */
@Service
public class MenuServiceImpl extends BaseServiceImpl<Menu, String> implements MenuService {

    @Autowired
    private MenuRepository menuRepository;

    @Override
    public MongoRepository<Menu, String> getMongoRepository() {
        return menuRepository;
    }

}
